<div class="articleFeedCommentArticle-Box">
                                <div class="userHead">
                                    <img src="https://static.iyingdi.cn/static%2Fimg%2Fhead_img.jpg">
                                </div>
                                <div class="to-reply" id="toCommentArticle" data-toggle="modal" data-target="#myModal">写评论</div>
                                <!-- 模态框（Modal） -->
                                <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
                                    <div class="modal-dialog">
                                        <div class="modal-content">
                                            <div class="utility-model-modelBody"
                                                 style="width: 720px; margin-left: -360px; margin-top: 80px;">
                                                <div class="utility-model-modelHeader">
                                                    <div class="utility-model-modelTitle" style="float: left;">文章评论</div>
                                                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                                                        &times;
                                                        </button>
                                                </div>
                                                <form action="{:plugin_url('comm/Comment/addComment')}" method="post">
                                                    <div class="utility-model-modelContent" style="height: auto">
                                                        <div class="articleDetailPage-reply-modal">
                                                            <div class="articleDetailPage-reply-content">
                                                                <div class="articleDetailPage-reply-header"
                                                                     style="position: relative;">

                                                                    <div id="html5_1bvr4od6ppnotjhf0v1qtb1t2h3_container"
                                                                         class="moxie-shim moxie-shim-html5"
                                                                         style="position: absolute; top: 1px; left: 17px; width: 48px; height: 45px; overflow: hidden; z-index: 0;">
                                                                        <input id="html5_1bvr4od6ppnotjhf0v1qtb1t2h3"
                                                                               type="file"
                                                                               style="font-size: 999px; opacity: 0; position: absolute; top: 0px; left: 0px; width: 100%; height: 100%;"
                                                                               multiple=""
                                                                               accept="image/jpeg,.jpg,image/gif,.gif,image/png,.png,image/bmp,.bmp">
                                                                    </div>
                                                                </div>

                                                                <textarea name="content" style="color:black" id="reply-articleFeed" placeholder="编写评论内容"></textarea>

                                                                <div class="commentBox-imageBox hidden">
                                                                    <ul id="fileList" class="commentBox-imageContent"></ul>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="utility-model-modelFooter">
                                                        <button type="submit" class="utility-model-confirmButton"
                                                                style="float: right">确认</button>
                                                    </div>
                                                    <input type="hidden" name="uid" value="{$user.uid}">
                                                    <input type="hidden" name="aid" value="{$info.id}">
                                                </form>
                                            </div>
                                        </div>
                                        <!-- /.modal-content -->
                                    </div><!-- /.modal -->
                                </div>

                            </div>
                            <div class="articleFeedComment-hotBox">
                                <div class="articleFeedColumnHead">热门评论
                                    <span class="comment_num" data-num="12">{热评条数}条</span>
                                </div>
                                <div class="articleFeedCommentList">
                                    <ul class="articleCommentList">
                                        <!--评论循环体-->
                                        <!--先热评，其他按时间排序-->
                                        {volist name="commList" id="commentItem"}
                                        <li class="comment-item articleCommentLayer hasReply" data-type="1" data-commentid="21731366" data-hot="157" data-reported="0">
                                                    <div class="comment-item-content">
                                                        <a target="_blank" href="/web/personal/home?id=17719">
                                                            <div class="comment-userHeadImg" style="border:2px solid #EF636F;">
                                                                <img src={$commentItem.comm_user.avatar} onerror="this.src='https://iplaymtg.oss-cn-beijing.aliyuncs.com/static%2Fimg%2Fhead_img.jpg'"
                                                                />
                                                            </div>
                                                        </a>
                                                        <div class="comment-item-mainContent">
                                                            <!-- 评论人-->
                                                            <a target="_blank" href="/web/personal/home?id=17719"></a>
                                                            <div class="comment-item-userName" style="color:#EF636F;">
                                                                <a target="_blank" href="/web/personal/home?id=17719"></a>
                                                                <a target="_blank" href="/web/personal/home?id=17719">{$commentItem.comm_user.nickname}</a>
                                                                <span class="comment-item-userLevel">LV.37</span>
                                                                <img class="badgeImg" src="http://static.iyingdi.cn/achievement/badge/icon/opinion10.png">
                                                            </div>
                                                            <!-- 评论内容-->
                                                            <div class="comment-item-userComment">{$commentItem.content}</div>
                                                            <!-- 评论IP-->
                                                            <div class="comment-item-footer articleCommentLayer">
                                                                <span class="comment-item-platform">来自Android客户端</span>
                                                                <span class="comment-item-commentTime">{$commentItem.date}</span>
                                                                <div class="comment-item-footer-right">
                                                                    <span class="comment-item-toPraise"><a class="ajax-get" href="{:plugin_url('comm/Comment/zan',['cid'=>$commentItem.id,'type'=>'com'])}">
                                                                        <i class="like_img"></i>
                                                                        <span class="number">{$commentItem.zan}</span>
                                                                    </a>
                                                                    </span>
                                                                    <span class="comment-item-toStep"><a class="ajax-get" href="{:plugin_url('comm/Comment/cai',['cid'=>$commentItem.id,'type'=>'comm'])}">
                                                                        <i class="hate_img"></i>
                                                                        <span class="number">{$commentItem.cai}</span>
                                                                    </a>

                                                                    </span>
                                                                    <span class="comment-item-toReply" onclick="js_replay({$commentItem.id})">
                                                                        <i class="reply_img"  ></i>回复
                                                                    </span>
                                                                </div>
                                                                <span class="comment-item-toReport">举报</span>
                                                            </div>
                                                            <!-- 回复列表-->
                                                            <div class="comment-replyListArea ">
                                                                <div class="comment-replyList-Head">

                                                                </div>
                                                                <ul class="comment-item-replyList lastedComment-replyList">
                                                                    <!--循环体-->
                                                                    <!-- 回复 -->
                                                                    {volist name="commentItem.reply" id="rep"}
                                                                    <li class="comment-item replyCommentLayer" data-type="2" data-commentid="21736170" data-hot="0" data-reported="0">
                                                                        <div class="comment-item-content">
                                                                            <a target="_blank" href="/web/personal/home?id=49281">
                                                                                <div class="comment-userHeadImg" style="border:2px solid rgb(59,104,184);">
                                                                                    <img src="{$rep.rep_user.avatar}" onerror="this.src='https://iplaymtg.oss-cn-beijing.aliyuncs.com/static%2Fimg%2Fhead_img.jpg'">
                                                                                </div>
                                                                            </a>
                                                                            <div class="comment-item-mainContent">
                                                                                <div class="comment-item-userName">
                                                                                    <a target="_blank" href="/web/personal/home?id=49281">{$rep.rep_user.nickname}</a>
                                                                                    <span class="comment-item-userLevel">LV.{等级}</span>
                                                                                </div>
                                                                                <div class="comment-item-userComment">
                                                                                    ：{$rep.content}</div>
                                                                                <div class="comment-item-footer replyCommentLayer">
                                                                                    <span class="comment-item-platform">来自iPhone客户端</span>
                                                                                    <span class="comment-item-commentTime">{$rep.date}</span>

                                                                                    <span class="comment-item-toReport">举报</span>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                    </li>
                                                                    {/volist}

                                                                </ul>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </li>

                                        {/volist}
                                        <div class="modal fade" id="modalToRep" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
                                                                            <div class="modal-dialog">
                                                                                <div class="modal-content">
                                                                                    <div class="utility-model-modelBody"
                                                                                         style="width: 720px; margin-left: -360px; margin-top: 80px;">
                                                                                        <div class="utility-model-modelHeader">
                                                                                            <div class="utility-model-modelTitle" style="float: left;">回复评论</div>
                                                                                            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                                                                                                &times;
                                                                                                </button>
                                                                                        </div>
                                                                                        <form action="{:plugin_url('comm/Comment/addRep')}" method="post">
                                                                                            <div class="utility-model-modelContent" style="height: auto">
                                                                                                <div class="articleDetailPage-reply-modal">
                                                                                                    <div class="articleDetailPage-reply-content">
                                                                                                        <div class="articleDetailPage-reply-header"
                                                                                                             style="position: relative;">

                                                                                                            <div id="html5_1bvr4od6ppnotjhf0v1qtb1t2h3_container"
                                                                                                                 class="moxie-shim moxie-shim-html5"
                                                                                                                 style="position: absolute; top: 1px; left: 17px; width: 48px; height: 45px; overflow: hidden; z-index: 0;">
                                                                                                                <input id="html5_1bvr4od6ppnotjhf0v1qtb1t2h3"
                                                                                                                       type="file"
                                                                                                                       style="font-size: 999px; opacity: 0; position: absolute; top: 0px; left: 0px; width: 100%; height: 100%;"
                                                                                                                       multiple=""
                                                                                                                       accept="image/jpeg,.jpg,image/gif,.gif,image/png,.png,image/bmp,.bmp">
                                                                                                            </div>
                                                                                                        </div>

                                                                                                        <textarea name="content" style="color:black" id="reply-articleFeed" placeholder="编写评论内容"></textarea>

                                                                                                        <div class="commentBox-imageBox hidden">
                                                                                                            <ul id="fileList" class="commentBox-imageContent"></ul>
                                                                                                        </div>
                                                                                                    </div>
                                                                                                </div>
                                                                                            </div>
                                                                                            <div class="utility-model-modelFooter">
                                                                                                <button type="submit" class="utility-model-confirmButton"
                                                                                                        style="float: right">确认</button>
                                                                                            </div>
                                                                                            <input type="hidden" id="com_id" name="cid" >
                                                                                            <input type="hidden" name="aid" value="{$info.id}">
                                                                                        </form>
                                                                                    </div>
                                                                                </div>
                                                                                <!-- /.modal-content -->
                                                                            </div><!-- /.modal -->
                                                                        </div>


                                        <li class="toCheckMoreComment" data-action="down" data-lastid="21733092">
                                            <div>查看更多评论</div>
                                        </li>
                                    </ul>
                                </div>

                            </div>












<script>
function js_replay(comm_id) {
    $('#com_id').val(comm_id);
    $('#modalToRep').modal('show');
}
$('body').on('click','.ajax-get',function (event) {
        //var event = $.event.fix(e);  
        event.preventDefault();
        var target;
        var $this = $(this);
        var need_confirm = false;
        if ($this.hasClass('confirm')) {
            need_confirm = true;
        }

        //验证
        if (need_confirm) {
            var confirm_info = $this.attr('confirm-info');
            confirm_info = confirm_info ? confirm_info : "确认要执行该操作吗?";
            parent.layer.confirm(confirm_info, {offset: 't',icon: 3, title:'询问',shadeClose: true,shade: 0.5,}, function(e){
                parent.layer.close(e);
                if ((target = $this.attr('href')) || (target = $this.attr('url'))) {
                    $.get(target).success(function (result) {
                        handleAjax(result,$this);
                    });
                }
            }, function(e){
                parent.layer.close(e);
            });
        } else{
            if ((target = $this.attr('href')) || (target = $this.attr('url'))) {
                $.get(target).success(function (result) {
                    $t= $this.find('span.number').html();
                    $t=parseInt($t)
                    $this.find('span.number').html($t+1)
                });
            }
        }


    });

</script>
<!-- <script type="text/javascript" src="__ADMIN_JS__/common.js" ></script> -->